package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.Customer;

import java.util.List;

public interface CustomerMapper {


        void add(Customer customer);//添加数据

        void deleteByIds(@Param("ids") String[] ids);//删下除选定的项目数据·

        void update(Customer customer);//修改数据
        List<Customer> selectCustomer(Customer customer);

        List<Customer> selectAll();

        //用Cid查询数据
        Customer selectByCid(String Cid);
}
